package com.huya.mapper;

import com.huya.pojo.entity.ReportAttachment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReportAttachmentMapper {
    void insert(List<ReportAttachment> attachments);

    @Select("SELECT * FROM report_attachment WHERE rid = #{id}")
    List<ReportAttachment> getByRid(Long id);
}
